<script setup>
defineProps({
  value: [String, Number],
  type: String,
  text: String,
});
</script>
<template>
  <div :class="$style[type]">{{ value || text }}</div>
</template>
<style module lang="scss">
.layout {
  width: '100%';
}
</style>
